const mongoose = require('./index').mongoose

// 商品标签集合（用于产品标签选择）
const productCategorySchema = new mongoose.Schema({
  name: { type: String, required: true, unique: true, index: true }, // 标签名称
  createTime: { type: Date, default: Date.now }
})

const ProductCategoryModel = mongoose.model('product_category', productCategorySchema, 'product_category')

module.exports = {
  ProductCategoryModel
}


